package mh.interfaces;

/**
 * A sprite to be displayed on the screen. This class does not contain position information.
 * 
 * @author Gianmarco Laggia
 */
public interface IImage {

	/**
	 * Returns the width of the sprite
	 * 
	 * @return The width in pixels
	 */
	public int getWidth();

	/**
	 * Returns the height of the sprite
	 * 
	 * @return The height in pixels
	 */
	public int getHeight();

	/**
	 * Draw the sprite
	 * 
	 * @param x
	 *            The x location to draw the sprite
	 * @param y
	 *            The y location to draw the sprite
	 */
	public void draw(double x, double y);

	public void setDirection(int d);

	public void setFrame(int f);

	public void frameUp();
}
